package com.example.movie.entity;

public class TPlayRecord {

    private String recordId;

    private String userId;

    private String movieId;

    private double time;

    public TPlayRecord() {
    }

    public TPlayRecord(String recordId, String userId, String movieId, double time) {
        this.recordId = recordId;
        this.userId = userId;
        this.movieId = movieId;
        this.time = time;
    }

    public String getRecordId() {
        return recordId;
    }

    public void setRecordId(String recordId) {
        this.recordId = recordId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getMovieId() {
        return movieId;
    }

    public void setMovieId(String movieId) {
        this.movieId = movieId;
    }

    public double getTime() {
        return time;
    }

    public void setTime(double time) {
        this.time = time;
    }

    @Override
    public String toString() {
        return "TPlayRecord{" +
                "recordId='" + recordId + '\'' +
                ", userId='" + userId + '\'' +
                ", movieId='" + movieId + '\'' +
                ", time=" + time +
                '}';
    }
}
